package cn.snow.boot.email;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @author liuwanxiang
 * @version 2017/9/12
 */
@SpringBootApplication
public class EmailApplication {

    /**
     * 解决Email邮件中中文文件名超长乱码的问题
     * @see https://blog.52itstyle.com/archives/1779/
     */
    static {
        System.setProperty("mail.mime.splitlongparameters", "false");
    }

    public static void main(String[] args) {
        SpringApplication.run(EmailApplication.class, args);
    }

}